#ifndef __GAS_PLUME_H__2013
#define __GAS_PLUME_H__2013
#include <stdint.h>
#include <SDL/SDL_video.h>

#define PLUME_SHIFT 12

/*! \brief Dots for the gas plume.
 *
 * This uses fixed point arithmetics for a try.
 */
typedef struct {
  int32_t x, y, dx, dy;

  int16_t life;
} gasdot_t;

/*! \brief Reset plume dots.
 *
 * The plume dots are reset so that no more plume dots are active.
 */
void reset_plumedots(void);

void create_plumedots(int num, short x, short y, short heading, short angle, float speed);

void draw_plumedots(SDL_Surface *surf);
#endif
